
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon font_family icon-icon-test"></i>
                    <div class="name">√○</div>
                    <div class="fontclass">.icon-icon-test</div>
                </li>
            
                <li>
                <i class="icon font_family icon-xingbienan"></i>
                    <div class="name">性别男</div>
                    <div class="fontclass">.icon-xingbienan</div>
                </li>
            
                <li>
                <i class="icon font_family icon-xingbienv"></i>
                    <div class="name">性别女</div>
                    <div class="fontclass">.icon-xingbienv</div>
                </li>
            
                <li>
                <i class="icon font_family icon-richangweisheng"></i>
                    <div class="name">日常卫生</div>
                    <div class="fontclass">.icon-richangweisheng</div>
                </li>
            
                <li>
                <i class="icon font_family icon-weishengjianshenduqingjie"></i>
                    <div class="name">卫生间深度清洁</div>
                    <div class="fontclass">.icon-weishengjianshenduqingjie</div>
                </li>
            
                <li>
                <i class="icon font_family icon-chufangshenduqingjie"></i>
                    <div class="name">未来家</div>
                    <div class="fontclass">.icon-chufangshenduqingjie</div>
                </li>
            
                <li>
                <i class="icon font_family icon-chumanchong"></i>
                    <div class="name">除螨虫</div>
                    <div class="fontclass">.icon-chumanchong</div>
                </li>
            
                <li>
                <i class="icon font_family icon-zuofanxiwan"></i>
                    <div class="name">做饭洗碗</div>
                    <div class="fontclass">.icon-zuofanxiwan</div>
                </li>
            
                <li>
                <i class="icon font_family icon-boliqingjie"></i>
                    <div class="name">玻璃清洁</div>
                    <div class="fontclass">.icon-boliqingjie</div>
                </li>
            
                <li>
                <i class="icon font_family icon-genghuanmenbashou"></i>
                    <div class="name">更换门把手</div>
                    <div class="fontclass">.icon-genghuanmenbashou</div>
                </li>
            
                <li>
                <i class="icon font_family icon-kaisuo"></i>
                    <div class="name">开锁</div>
                    <div class="fontclass">.icon-kaisuo</div>
                </li>
            
                <li>
                <i class="icon font_family icon-genghuansuoti"></i>
                    <div class="name">更换锁体</div>
                    <div class="fontclass">.icon-genghuansuoti</div>
                </li>
            
                <li>
                <i class="icon font_family icon-genghuansuoxin"></i>
                    <div class="name">更换锁芯</div>
                    <div class="fontclass">.icon-genghuansuoxin</div>
                </li>
            
                <li>
                <i class="icon font_family icon-qichekaisuo"></i>
                    <div class="name">汽车开锁</div>
                    <div class="fontclass">.icon-qichekaisuo</div>
                </li>
            
                <li>
                <i class="icon font_family icon-genghuanzhengtisuo"></i>
                    <div class="name">更换整体锁</div>
                    <div class="fontclass">.icon-genghuanzhengtisuo</div>
                </li>
            
                <li>
                <i class="icon font_family icon-guandaoshutong"></i>
                    <div class="name">管道疏通</div>
                    <div class="fontclass">.icon-guandaoshutong</div>
                </li>
            
                <li>
                <i class="icon font_family icon-fangshuizhilou"></i>
                    <div class="name">防水治漏</div>
                    <div class="fontclass">.icon-fangshuizhilou</div>
                </li>
            
                <li>
                <i class="icon font_family icon-shuiguanlongtou"></i>
                    <div class="name">水管笼头</div>
                    <div class="fontclass">.icon-shuiguanlongtou</div>
                </li>
            
                <li>
                <i class="icon font_family icon-dengjudianlu"></i>
                    <div class="name">灯具电路</div>
                    <div class="fontclass">.icon-dengjudianlu</div>
                </li>
            
                <li>
                <i class="icon font_family icon-chuweijieju"></i>
                    <div class="name">厨卫洁具</div>
                    <div class="fontclass">.icon-chuweijieju</div>
                </li>
            
                <li>
                <i class="icon font_family icon-baoxianxiangkaisuo"></i>
                    <div class="name">保险箱开锁</div>
                    <div class="fontclass">.icon-baoxianxiangkaisuo</div>
                </li>
            
                <li>
                <i class="icon font_family icon-kongtiaoyiji"></i>
                    <div class="name">空调移机</div>
                    <div class="fontclass">.icon-kongtiaoyiji</div>
                </li>
            
                <li>
                <i class="icon font_family icon-kongtiaojiafu"></i>
                    <div class="name">空调加氟</div>
                    <div class="fontclass">.icon-kongtiaojiafu</div>
                </li>
            
                <li>
                <i class="icon font_family icon-genghuanzhiwensuo"></i>
                    <div class="name">更换指纹锁</div>
                    <div class="fontclass">.icon-genghuanzhiwensuo</div>
                </li>
            
                <li>
                <i class="icon font_family icon-weilaijia"></i>
                    <div class="name">未来家</div>
                    <div class="fontclass">.icon-weilaijia</div>
                </li>
            
                <li>
                <i class="icon font_family icon-wodexinxi"></i>
                    <div class="name">我的信息</div>
                    <div class="fontclass">.icon-wodexinxi</div>
                </li>
            
                <li>
                <i class="icon font_family icon-chujiaquan"></i>
                    <div class="name">除甲醛</div>
                    <div class="fontclass">.icon-chujiaquan</div>
                </li>
            
                <li>
                <i class="icon font_family icon-yuying"></i>
                    <div class="name">育婴</div>
                    <div class="fontclass">.icon-yuying</div>
                </li>
            
                <li>
                <i class="icon font_family icon-jifenduihuan"></i>
                    <div class="name">积分兑换</div>
                    <div class="fontclass">.icon-jifenduihuan</div>
                </li>
            
                <li>
                <i class="icon font_family icon-qiandaosongjifen"></i>
                    <div class="name">签到送积分</div>
                    <div class="fontclass">.icon-qiandaosongjifen</div>
                </li>
            
                <li>
                <i class="icon font_family icon-wodedingdan"></i>
                    <div class="name">我的订单</div>
                    <div class="fontclass">.icon-wodedingdan</div>
                </li>
            
                <li>
                <i class="icon font_family icon-woyaochongzhi"></i>
                    <div class="name">我要充值</div>
                    <div class="fontclass">.icon-woyaochongzhi</div>
                </li>
            
                <li>
                <i class="icon font_family icon-jujiakaihuangbaojie"></i>
                    <div class="name">居家开荒保洁</div>
                    <div class="fontclass">.icon-jujiakaihuangbaojie</div>
                </li>
            
                <li>
                <i class="icon font_family icon-xingxing"></i>
                    <div class="name">星星</div>
                    <div class="fontclass">.icon-xingxing</div>
                </li>
            
                <li>
                <i class="icon font_family icon-baomu"></i>
                    <div class="name">保姆</div>
                    <div class="fontclass">.icon-baomu</div>
                </li>
            
                <li>
                <i class="icon font_family icon-menjinxitong"></i>
                    <div class="name">门禁系统</div>
                    <div class="fontclass">.icon-menjinxitong</div>
                </li>
            
                <li>
                <i class="icon font_family icon-diannaoweixiu"></i>
                    <div class="name">电脑维修</div>
                    <div class="fontclass">.icon-diannaoweixiu</div>
                </li>
            
                <li>
                <i class="icon font_family icon-xiwan"></i>
                    <div class="name">洗碗</div>
                    <div class="fontclass">.icon-xiwan</div>
                </li>
            
                <li>
                <i class="icon font_family icon-dayinjiweixiu"></i>
                    <div class="name">打印机维修</div>
                    <div class="fontclass">.icon-dayinjiweixiu</div>
                </li>
            
                <li>
                <i class="icon font_family icon-jiankongshebei"></i>
                    <div class="name">监控设备</div>
                    <div class="fontclass">.icon-jiankongshebei</div>
                </li>
            
                <li>
                <i class="icon font_family icon-shouna"></i>
                    <div class="name">收纳</div>
                    <div class="fontclass">.icon-shouna</div>
                </li>
            
                <li>
                <i class="icon font_family icon-taocanliebiao"></i>
                    <div class="name">套餐列表</div>
                    <div class="fontclass">.icon-taocanliebiao</div>
                </li>
            
                <li>
                <i class="icon font_family icon-quanwuqingjie"></i>
                    <div class="name">全屋清洁</div>
                    <div class="fontclass">.icon-quanwuqingjie</div>
                </li>
            
                <li>
                <i class="icon font_family icon-waiqiangqingjie"></i>
                    <div class="name">外墙清洁</div>
                    <div class="fontclass">.icon-waiqiangqingjie</div>
                </li>
            
                <li>
                <i class="icon font_family icon-dibandala"></i>
                    <div class="name">地板打蜡</div>
                    <div class="fontclass">.icon-dibandala</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">font_family</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"font_family"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
